import { transform } from '../transform'
import { TransformFileAsyncOptions } from './../interface'
import { clearOutDir } from '../utils'
export const build = async (
  entry: string,
  options: TransformFileAsyncOptions,
) => {
  const { outDir = 'app' } = options
  clearOutDir(outDir)
  await transform(entry, options)
}
